home *** CD-ROM | disk | FTP | other *** search
- global CorrectAnswers, gSoundPlayedOnce
-
- on exitFrame
- handcursor(4)
- handcursor(5)
- set AnswerScore to [68, 39, 41, 42, 43, 44, 45, 46, 47, 48, 40]
- set the text of field "userscore" to the text of field "name" & "!"
- set the textSize of member "userscore" to 24
- set the textStyle of member "userscore" to "bold"
- set the foreColor of member "userscore" to 246
- set the member of sprite 3 to member getAt(AnswerScore, CorrectAnswers + 1) of castLib "QuizPics"
- updateStage()
- if gSoundPlayedOnce = 1 then
- if the memberNum of sprite 3 = 40 then
- playSound(2, "allten.wav")
- end if
- set gSoundPlayedOnce to 0
- end if
- go(the frame)
- end
-